From: Florian Müllner Date: Fri, 3 May 2019 21:24:43 +0000 (+0000) Subject: Revert "st: Reload icon on style changes only if necessary" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~222 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=598407b14a82bcaed3fce54f9aa97b49e0c1c511;p=gnome-shell.git Revert "st: Reload icon on style changes only if necessary" The size isn't the only relevant style change, we also need to pick up icon-colors, icon-style and icon-shadow. This reverts commit 94995e9c1e1ffc3eb44c06d23a30a2ac8cd2455d. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/529 --- diff --git a/src/st/st-icon.c b/src/st/st-icon.c index 8b7015281..04d2d1d3c 100644 --- a/src/st/st-icon.c +++ b/src/st/st-icon.c @@ -206,8 +206,8 @@ st_icon_style_changed (StWidget *widget) } priv->theme_icon_size = (int)(0.5 + st_theme_node_get_length (theme_node, "icon-size")); - if (st_icon_update_icon_size (self)) - st_icon_update (self); + st_icon_update_icon_size (self); + st_icon_update (self); } static void